package com.example.dml.singleton_pattern;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-27
 * @Description：todo
 */
public enum EnumSingleton {
    INSTANCE;
    private Object data;
    public Object getData(){
        return data;
    }
    public void setData(Object data){
        this.data = data;
    }
    public static EnumSingleton getInstance(){
        return INSTANCE;
    }
}
